package net.csdn.business.kanban.common.domain.DTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author wanghang
 * @version 1.0
 * @date 2022/11/8 16:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class LabelIssueBatchLinkDto implements Serializable {

    /**
     * 当前用户ID
     */
    @NotBlank(message = "userId 不能为空", groups = {System.class})
    private String currUserId;

    /**
     * 项目ID(仓库ID)
     */
    @NotNull(message = "projectId 不能为空")
    private Long projectId;

    /**
     * 标签ID
     */
    private List<String> labelIds;

    /**
     * issueId列表
     */
    private List<String> issueIds;

}